﻿using System.Xml.Serialization;

namespace HamcoWcs.Models.TibcoMessage
{

    [XmlRoot("MESSAGE")]
    public class PalletAndBoxAssignMessage : BaseTibcoMessage<PalletAndBoxAssignMessageBody>
    {
        public PalletAndBoxAssignMessage()
        {

        }
        public PalletAndBoxAssignMessage(PalletAndBoxAssignMessageBody body, string inboxName = "", string listener = "") : base("PalletAndBoxAssignRequest", body, inboxName, listener)
        {
        }
    }


    public class PalletAndBoxAssignMessageBody : PalletEventBase
    {
        public PalletAndBoxAssignMessageBody()
        {
        }


        [XmlElement("PACKINGTYPE")]
        public string PackingType { get; set; }
        [XmlElement("BOXQUANTITY")]
        public string BoxQuantity { get; set; }
        [XmlElement("BOXLIST")]
        public BoxList BoxList { get; set; }

    }
}
